package com.jrx.anytxn.transaction.timer.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * ClassName CouponConfig
 *
 * @author zzb
 * @version 1.0
 * @description 权益配置类、包含活动id等
 * @date 2022年5月9日15:24:53
 **/
@Component
@ConfigurationProperties(prefix = "coupon")
@Getter
@Setter
public class CouponConfig {

    public Activity activity;

    /**
     * 活动参数
     */
    @Getter
    @Setter
    public static class Activity{
        //邀新用户手册消费送券活动id
        private String newUserSharedConsumeFirstActivityId;
        //特定渠道邀新有礼
        private Map<String,String> specificChannelsOfInviteNew;
    }


}
